import  http from '../util/http'


async function list(){
   return await http.get('/dept/list')
}

async function edit(data){
    return await http.get('/dept/edit',data)
 }

export {list,edit}